/*
 * @Author: 
 * @Date: 2024-07-07 17:40:57
 * @LastEditor: zhuxiaoyi
 * @LastEditTime: 2024-07-10 11:07:18
 * @Description: 
 */
import { ApiProperty } from '@midwayjs/swagger';

export class AlgorithmTypeDto {
  @ApiProperty({
    description: '类型父级',
    example: '0',
  })
  parentId: string;

  @ApiProperty({
    description: '类型名称',
    example: '一级目录',
  })
  name: string;

  @ApiProperty({
    description: '类型描述',
    example: '一级目录描述',
  })
  des?: string;
}
export class AlgorithmUpdateTypeDto {
  @ApiProperty({
    description: '更新算法目录',
    example: ['63', '64', '66', '65']
  })
  algorithms: string[];

  @ApiProperty({
    description: '执行动作',
    example: ['62', '64', '66']
  })
  originAlgorithms: string[];
}

